﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrainingsApp.Model;
using WisDragon.Framework.Data.DataAccess;
using TrainingsApp.Helper;

namespace TrainingsApp.DAL.Imp.Auto {
    public class TS_Grade_DAL {

        public static List<TS_Grade_Entity> ListAll() {


            try {
                DataCommand cmd = DataCommandManager.GetDataCommand("TS_Grade_ListAll");

                return cmd.ExecuteEntityList<TS_Grade_Entity>();

            }
            catch (Exception ex) {
                ExceptionHelper.ProcessException(ex);
            }

            return new List<TS_Grade_Entity>();
        }
    }
}
